package com.lagou.edu.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @date 2020/5/26 18:33
 */
@Getter
@Configuration
public class EmailConfig {
    @Value("${email.username}")
    private String username;

    @Value("${email.password}")
    private String password;

    @Value("${email.name}")
    private String name;

    @Value("${email.subject}")
    private String theme;

    @Value("${email.hostname}")
    private String hostname;
}
